﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AF9 RID: 2809
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MBACCCIEGBN : IMessage<MBACCCIEGBN>, IMessage, IEquatable<MBACCCIEGBN>, IDeepCloneable<MBACCCIEGBN>, IBufferMessage
	{
		// Token: 0x17002379 RID: 9081
		// (get) Token: 0x06007DC7 RID: 32199 RVA: 0x0014FA30 File Offset: 0x0014DC30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MBACCCIEGBN> Parser
		{
			get
			{
				return MBACCCIEGBN._parser;
			}
		}

		// Token: 0x1700237A RID: 9082
		// (get) Token: 0x06007DC8 RID: 32200 RVA: 0x0014FA37 File Offset: 0x0014DC37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MBACCCIEGBNReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700237B RID: 9083
		// (get) Token: 0x06007DC9 RID: 32201 RVA: 0x0014FA49 File Offset: 0x0014DC49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MBACCCIEGBN.Descriptor;
			}
		}

		// Token: 0x06007DCA RID: 32202 RVA: 0x0014FA50 File Offset: 0x0014DC50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MBACCCIEGBN()
		{
		}

		// Token: 0x06007DCB RID: 32203 RVA: 0x0014FA58 File Offset: 0x0014DC58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MBACCCIEGBN(MBACCCIEGBN other) : this()
		{
			this.miracleId_ = other.miracleId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007DCC RID: 32204 RVA: 0x0014FA7D File Offset: 0x0014DC7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MBACCCIEGBN Clone()
		{
			return new MBACCCIEGBN(this);
		}

		// Token: 0x1700237C RID: 9084
		// (get) Token: 0x06007DCD RID: 32205 RVA: 0x0014FA85 File Offset: 0x0014DC85
		// (set) Token: 0x06007DCE RID: 32206 RVA: 0x0014FA8D File Offset: 0x0014DC8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MiracleId
		{
			get
			{
				return this.miracleId_;
			}
			set
			{
				this.miracleId_ = value;
			}
		}

		// Token: 0x06007DCF RID: 32207 RVA: 0x0014FA96 File Offset: 0x0014DC96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MBACCCIEGBN);
		}

		// Token: 0x06007DD0 RID: 32208 RVA: 0x0014FAA4 File Offset: 0x0014DCA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MBACCCIEGBN other)
		{
			return other != null && (other == this || (this.MiracleId == other.MiracleId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007DD1 RID: 32209 RVA: 0x0014FAD4 File Offset: 0x0014DCD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MiracleId != 0U)
			{
				num ^= this.MiracleId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007DD2 RID: 32210 RVA: 0x0014FB13 File Offset: 0x0014DD13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007DD3 RID: 32211 RVA: 0x0014FB1B File Offset: 0x0014DD1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007DD4 RID: 32212 RVA: 0x0014FB24 File Offset: 0x0014DD24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MiracleId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.MiracleId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007DD5 RID: 32213 RVA: 0x0014FB58 File Offset: 0x0014DD58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MiracleId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MiracleId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007DD6 RID: 32214 RVA: 0x0014FB96 File Offset: 0x0014DD96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MBACCCIEGBN other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MiracleId != 0U)
			{
				this.MiracleId = other.MiracleId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007DD7 RID: 32215 RVA: 0x0014FBC7 File Offset: 0x0014DDC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007DD8 RID: 32216 RVA: 0x0014FBD0 File Offset: 0x0014DDD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MiracleId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400300C RID: 12300
		private static readonly MessageParser<MBACCCIEGBN> _parser = new MessageParser<MBACCCIEGBN>(() => new MBACCCIEGBN());

		// Token: 0x0400300D RID: 12301
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400300E RID: 12302
		public const int MiracleIdFieldNumber = 8;

		// Token: 0x0400300F RID: 12303
		private uint miracleId_;
	}
}
